package com.yyk.yiliao.bean;

import java.util.List;

/**
 * 接口27：获取用户收货地址列表（whm）
 */

public class UseraddressList_Info {

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"id":16,"uid":89,"name":"问题的","phone":"17778015485","province":16,"city":170,"county":1726,"address":"挺好的朋友","status":2,"province_name":"山东省","city_name":"济南市","county_name":"历下区"},{"id":1,"uid":89,"name":"李","phone":"1318871811","province":16,"city":179,"county":1819,"address":"测试地址","status":1,"province_name":"山东省","city_name":"威海市","county_name":"文登市"},{"id":9,"uid":89,"name":"王满强","phone":"2147483647","province":2,"city":33,"county":378,"address":"宋家庄","status":1,"province_name":"北京市","city_name":"市辖区","county_name":"东城区"},{"id":10,"uid":89,"name":"王俊凯","phone":"2147483647","province":2,"city":33,"county":382,"address":"呃呃呃呃呃","status":1,"province_name":"北京市","city_name":"市辖区","county_name":"朝阳区"},{"id":11,"uid":89,"name":"委托方","phone":"2147483647","province":2,"city":33,"county":378,"address":"济南的天气w","status":1,"province_name":"北京市","city_name":"市辖区","county_name":"东城区"},{"id":12,"uid":89,"name":"王小明","phone":"2147483647","province":16,"city":176,"county":1819,"address":"xxx街道","status":1,"province_name":"山东省","city_name":"潍坊市","county_name":"文登市"},{"id":14,"uid":89,"name":"王思聪","phone":"17778054425","province":2,"city":33,"county":378,"address":"发发发","status":1,"province_name":"北京市","city_name":"市辖区","county_name":"东城区"},{"id":15,"uid":89,"name":"大的时","phone":"17788888888","province":3,"city":35,"county":396,"address":"建军节到来之际","status":1,"province_name":"天津市","city_name":"市辖区","county_name":"和平区"},{"id":17,"uid":89,"name":"刚刚好","phone":"14589625788","province":16,"city":171,"county":1736,"address":"猜猜猜","status":1,"province_name":"山东省","city_name":"青岛市","county_name":"市辖区"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    @Override
    public String toString() {
        return "UseraddressList_Info{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }


    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", uid=" + uid +
                    ", name='" + name + '\'' +
                    ", phone='" + phone + '\'' +
                    ", province=" + province +
                    ", city=" + city +
                    ", county=" + county +
                    ", address='" + address + '\'' +
                    ", status=" + status +
                    ", province_name='" + province_name + '\'' +
                    ", city_name='" + city_name + '\'' +
                    ", county_name='" + county_name + '\'' +
                    '}';
        }

        /**
         * id : 16
         * uid : 89
         * name : 问题的
         * phone : 17778015485
         * province : 16
         * city : 170
         * county : 1726
         * address : 挺好的朋友
         * status : 2
         * province_name : 山东省
         * city_name : 济南市
         * county_name : 历下区
         */

        private int id;
        private int uid;
        private String name;
        private String phone;
        private int province;
        private int city;
        private int county;
        private String address;
        private int status;
        private String province_name;
        private String city_name;
        private String county_name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getProvince() {
            return province;
        }

        public void setProvince(int province) {
            this.province = province;
        }

        public int getCity() {
            return city;
        }

        public void setCity(int city) {
            this.city = city;
        }

        public int getCounty() {
            return county;
        }

        public void setCounty(int county) {
            this.county = county;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getProvince_name() {
            return province_name;
        }

        public void setProvince_name(String province_name) {
            this.province_name = province_name;
        }

        public String getCity_name() {
            return city_name;
        }

        public void setCity_name(String city_name) {
            this.city_name = city_name;
        }

        public String getCounty_name() {
            return county_name;
        }

        public void setCounty_name(String county_name) {
            this.county_name = county_name;
        }
    }
}
